package com.whys;

public class Animal {
    // 方法
    public int point(int x,int y){
        return x+y;
    }

    public static void main(String[] args) {
        Animal animal = new Animal();
        int point = animal.point(10, 20);
        System.out.println(point);

    }
}
